feat(templates): require signatures for javascript templates (#7514)