Adding tern as a submodule and a package.json