Update chatRoom.js