template id in the js as well