Encapsulate all templates into window.TETemplates;