added phantomJS for headless browser testing