adding phantomjs dependencies