moved init to game.js