Separate out DOM functionality and start on beginning of game.