Have npm install phantomjs locally as a dependency.