Added fallback functionality for CDN script references.