fix require paths for node_modules