Minor JS updates