removed external phantomjs dependency