UM updated with scalable images on a click using javascript