detect version phantomjs