More refactoring.  Exporting GAME methods from scripts.js