Minor JS updates.