JavaScript and WebGL game