For node.js v0.8, upgrade to npm v1.4 before upgrading to latest npm