Added JS template docs