Fix 'Uncaught ReferenceError: jQuery is not defined' 

if jQuery is not included in template a javascript error is caused.