updated npm to be installed using sudo

fix for Ubuntu 12.10 server host