js template typo fix