created js-temlate