Added javadoc to guid() and s4() functions in ChatRoom.js