Where is the JS file and is this Async the fastest way to call JS?
I guess they then have PHP calls in the .JS for updating the Ad stats??
The code:
There are a couple of ways to include js code into html, one is put the code directly into the tag, just like what you wondered about the code you posted, the other method is to use the following syntax:
As a side note, the code you posted uses a technique that prevents js name spacing conflicts by putting the code in the
(function() ...)();
block, which I find to be a very good practice.
Regarding the question about using async in tag, you might want to take a look at this: http://davidwalsh.name/html5-async