Create helper functions for constructing messages
Fix unicode encoding
Move name conflict resolution into Room
Receive errors in javascript
Improve style