add registry option to npm module

this should help with deploys during http://registry.npmjs.org downtime