Export the templates for commonJS