socket.io working but x always plays