Moving javascript plugins to submodules