Added click event in js and on click added innnerhtml