Add new template JS (prototype)