JSB Opengl: Adds support for 'gl.createXXX' functions and gl.vertexAttribPointer