update to javascript for the image picker, changing attr to prop for the radio buttons.