Added jQuery to template