Switch to phantomjs for testing