Templated game.js