move the chat to a jQuery Widget