And fix new errors that were found.
This also adds tools/run-all-js-tests.py which runs `npm install`
and `npm test` in all directories containing a package.json file.
This is intended to replace simpler uses of .npm_run_helper.py, then
I'll continually migrate views until they can use the simpler form.
Currently it will only be Splore that uses it.