Changed to use .click instead of .on("click")