Update cloudchat.js