Support JS defer/async attributes

* Changed the cachebuster $mediaQuery var to $fileAttr, which now supports async or defer attributes for JS files.