Cleaning code from intended feature fix and proper adding of image for jqueryui