The JS tools now use the inherited `--cwd` option instead of their own. Also made sure all tests are using it.