a chat application based on node.js