Asynchronous chat server written in Node js