Requirejsified the game-server code.