Update cubeGame.js

Removing texture warnings.