changed to jquery and added a small chatbox test