Chore :: fix in template.js
jQuery namespace is used