Although there are ways of making server-side calls from javascript, and getting the results (such as using XMLHTTP or "hidden iframes"), I think a good and relatively easy solution would simply be to put the portion of your page that contains the chat interface and results in an iframe, that way, when it gets refreshed, only the iframe portion is refreshed and is that much faster and less noticeable.