Fix Chat.js