Fixed issue with customTheme being undefined when a custom Theme isn't being applied
Also upgraded to latest version of jQuery