Restore phantomjs path