Add jQuery.js on the head of template.