Create chat-controls.js