In this example, the duplicate script is cacheable.
This is ideal (see Rule 3), but even when the script is cached
the browser still executes it twice.
We can observe this by simply printing out the value of iCounter
, which is incremented in the JavaScript file.