Node module for replacing local links with CDN links, includes fallbacks and customization