adding phantomjs directory