quick game.js fix