Fixes for javascript build.

Moves shaders to assets.
Uses linux clock code for js build.
Fixes opengl headers to provide extensions.

Next: alter shaders so they conform with GLES2.0 (version 100)