chat-server using javascript and socket.io