Custom Theme causes a JS error in the console

When you have no custom theme applied, you will get an error like this in the JS console:

    Uncaught reference error. customTheme is not defined

As the page auto refreshes with AJAX calls, this can quickly fill up the console logs.

Also upgraded jQuery to latest pre v2 version (not required, but nice to have)