adds js closure for the game and refines style