add chat-client.js