2d game in JavaScript with WebGL