add dependencies for phantomjs