switch to phantomjs for testing