revert to not changing the internal templateName var, and use getTemplateName() internally
add dist files for 2.2.2