update phantomjs script