webgl GLSL syntax is nice and similar to javascript... but it is base on very stricktly typed c/c++

I been known about webgl, and i been look at it but the first time it was looking at a complex thing that I had no hope in understand, revisiting WebGL I see it as a cool little mutil step state machine configuration that has a even cool little language call GLSL(GL Shader Language) that now I understand handling little fragments of points and colors that deal with math mostly of doing operations on these little guys.... anyway why can't we just use webgl GLSL syntax to add strict syntax? It is nice and similar to javascript and it is base on very stricktly typed c/c++ with type too.