The following general format is used by almost all third party hosted scripts for loading the resource.
<script type="text/javascript">
(function(a,b,c,d){
a='//third.com/party.js';
b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
})();
</script>
Why is that preferred to this:
<script type="text/javascript" src="//third.com/party.js" async></script>
My guess was that it extended async loading support to browsers that didn't have it, but almost all browsers used today support the async attribute.