change user agent from chrome to safari for phantomjs