Chat written in node.js