use npm for installing phantomjs