revert phantomjs script