Updating ImageInput JS code base.