Templates based on element.js