trigger an event before any jquery binding is executed