Minor JS consistency changes.