Experiment with creating a game state manager with JavaScript