Updated the tern repo endpoint.
Updated the sync script to update NPM modules.