fixed JS template