fixed js paren bug