added the templates to the javascript file in the build