replace our event handler with a customized version of $.rails.handleMethod