ajax-y magic

Theoretically this should allow the chat to be more chat-like and not require a page refresh.
This was a challenging sentence to navigate.