Update chatroom.js