Instead of `$(selector).click(function(){ f(); })` you can just use `$(selector).click(f)`