simplify node-modules.js