refactor node-modules