Fix js runner

The Javascript test runner can't run single files and currently can't run tests on an already running CouchDB instance.