adding phantomjs rule