Updated version of jQuery to 1.91 and made some minor fixes to template