Edited the chat.js