allow cancelation of ajax events by bubbling up return values to subsequent event handlers

The previous JS didn't respect cancellation of the ajax call via bound handlers, due to the use of the <jquery object>.trigger() command returning the jquery object, rather than the desired return value of the triggered handler.