So I tried to create a cc.GLProgramm by using source from git. Unfortunately there is quite a weird problem which seems to have to do with inner classes of cocos:
Uncaught TypeError: locGL.createProgram is not a function
cc.GLProgram.cc.Class.extend.initWithVertexShaderByteArray
@ CCGLProgram.js:146cc.GLProgram.cc.Class.extend.initWithVertexShaderFilename
@ CCGLProgram.js:200cc.Layer.extend.ctor @ layerBlur.js:7(anonymous function)
@ CCClass.js:128Class
@ CCClass.js:90cc.Scene.extend.onEnter
@ menuScene.js:11(anonymous function)
@ CCClass.js:128cc.Director.cc.Class.extend.setNextScene
@ CCDirector.js:545cc.Director.cc.Class.extend.drawScene
...
Maybe somone can recreate this issue by using this code from git: https://gist.github.com/mutoo/f9f2144faae570ec5462