Use addJSToLoad everywhere.

There were direct calls to writeScriptTag for jQuery.
Merge pull request #469 from herby/no-direct-writescripttag-calls

Use addJSToLoad everywhere.