started working on js template