added js template main