Fixed JS formatting and removed comments