adds phantomjs dependency