fixing nvm to use packages. adding phantomjs