A TemplateLoader library for JavaScript