add phantomjs dependency