Changes .click() to .on(click, ... )