SpiderGL is a JavaScript 3D Graphics library which relies on WebGL for realtime rendering.
You can test it online using your browser using this website.
The website allow you to write shaders and also rendering the output.
Read more about shaders tutorial here.