socket.io story javascript