consider mocha-phantomjs