add phantomjs as dependency