When the javascript CDN is offline then you can load it locally. You can see my example with JQuery: