Add Js for each template