change adapter for phantomjs.