fix npm install recipe

- changed URL (got a 301 there before)
- added "clean=no" env so that the install works
  (see http://stackoverflow.com/a/20177638/1070069)
Refactor: node attributes and variable to avoid redundancy
Fix: rubocop offense
Merge pull request #356 from till/fix/npm

Fix/npm