Fixed to work better with a standalone starter...

E.g. using a script in npm pretest with only:
```
var phantomjs = require('phantom-server');
phantomjs.start().then(function() {
  process.exit(0);
});
```