Update javascript.html

Adds site.ga variable and error output on failure to load GA.