adding phantomjs support