Javascript formatting and matching paren tweak