Updated the phantomjs script.