Javascript library as submodule

Adds javascript library as submodule.