add callback events to jQuery options