Updating ImageInput JS code base.
Using jQuery for all DOM manipulation.
Adding Jasmine tests for ImageInput.