Fix `undefinedtheme` errors in JavaScript
Fix `undefinedtheme` errors in JavaScript

The JavaScriptEscape function actually references the js variable
`elk_scripturl` so it is vital that `elk_scripturl` be first in
the `addJavascriptVar` array.

nwsw/Elkarte,nwsw/Elkarte,nwsw/Elkarte