Added javascript for image selection
Added javascript for image selection