add phantomjs as headless browser