moved js submodules into src directory