changing to phantomJS