Add templating js and reference that in html