more chat work - this time the ajax bits to actually show chats on the page