Pas an OpenGL to WebGL

Hi

Can somebody tell me how difficult is it to pass a hole program from OpenGL to a WebGL?
And what is the best way to do this?

Had anybody experienced to pas it?