adjust bracket js