Add phantomjs dependency.