fixed js brackets