Resolve URLs with node.js