listeners for game.js