Convert js subdirectory to submodule