Adding js on click