phantomjs fixes