Fix up some JS formatting