Replace phantomjs with npm version