added js on click