adds phantomjs for testing