Preprocess all javascript .click() events