template.js is class'