I'm currently using the Google Maps API script:
function loadScript() {
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "https://maps.googleapis.com/maps/api/js?v=3.exp&key=KEY&sensor=false&callback=callback";
    document.body.appendChild(script);
}
I already have a fallback using the response status in the callback but how to create a fallback in case say the API is unreachable for any reason, i.e. when the script above doesn't load?
Alternatively, is this overkill and should one assume the API will always be there for you?
 
    