set up mocha/phantomjs for testing