Functionally they are the same thing in this case; it looks like Google recently changed their validator to prefer the var method. I’ll update the export script soon to reflect this change.
I also noticed that the latest version packages the javascript into the HTML instead of linking to an external js file. That also solves the issue with the cache-busting query in the URL.