integration of phantomjs