Changed js modules to submodules