Removed logs in template.js to clean up output.