When the javascript CDN is offline then you can load it locally. You can see my example with JQuery:
| <script src='http://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script> <script>!window.jQuery && document.write("<script src='jquery.min.js'><\/script>")</script> |