Bug 975233 - Reorganize the rules for installing node.js modules