Configure Phantomjs