Comment out socket.disconnect() when invalid code is submitted; makes it easier to try again without reloading page