Directly link to Google JSAPI libraries

I’ll start off by saying that I love Google’s JSAPI. The other day all hell broke loose when, due to internal server issues, http://www.google.com/jsapi started throwing up 503 errors – which subsequently broke JavaScript in all 12 or so internal apps using JSAPI. In other words, a major headache since I was faced with having to manually update the apps with the proper JS dependencies. Luckily I found out where those jsapi libs were stored, and through another stroke of luck found that they were resolving properly. So for any of you out there that get yourself into this odd situation, or wish to avoid using google.load(...) by directly linking to the libraries themselves, here ya go.

<script src='http://www.google.com/jsapi' type='text/javascript' charset='utf-8'></script>
<script type='text/javascript' charset='utf-8'>
  google.load('prototype', '1.6');
  google.load('scriptaculous', '1.8');
</script>
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js" type="text/javascript" charset="utf-8"></script>
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/scriptaculous.js" type="text/javascript" charset="utf-8"></script>

View Gist