Moved js libraries to submodules