Web-based chat application on node.js