append page scripts after site scripts, and add cache busting to local script and css files