cleaned up js generation a bit, exposed glsl shader code
merge