Download PhantomJS through NPM. Refactoring drone build script