Fix phantomjs