Moved game related javascripts into their own folder and now handles the game code being across multiple javascript files.