Fixed JS formatting