move js of Hall.html to chat.js