adding template.js for jquery testing purposes