Add braces for JS formatting