regenerate js templates in dev