added jquery .on for click event