demo for js template