Make emscripten friendly
Make OpenGL ES 2.0 friendly