setting up for phantomjs