Work in progress.
Updating ImageInput JS code base.