Add into javascript better click to select as well as recent image