adding fallbacks to require config in case CDN load fails