Update for phantomjs