Update cubeGame.js