Convert templates from hbs to doT.js