Add support for mocha-phantomjs

This tiny patch adds support for running headless tests via [https://github.com/metaskills/mocha-phantomjs](mocha-phantomjs)