JavaScript: Fallback to local version of jQuery if CDN version fails to load