add partially working AJAX updates for the chatbox