add phantomjs dependences