Update JS template hooks to braces