- Added a host constant
- Split system and user message handling into two separate events (userMessage, systemMessage).
- Refactored chatPageMain.js, moving some code elsewhere (componentUtils) and putting functionality into cohesive functions.
- More refactoring: put all code related to the socket.io chat connection in its own file.
- Put message names in constants.js; also changed some message names for more consistency.
- Removed unused imports from server.js
- Put message names in constants.js; also changed some message names for more consistency. - Removed unused imports from server.js