Simple JS chat server using socket.io