Adding chat.js