switch to phantomjs