resolvePath.js clean