Setting up jam.js, fixing submodules