quit() phantomjs driver correction