Setup phantomjs for testing