Fixing mocha-phantomjs spawn code