Changed JS template