changing
success: successHandler,
to:
success: function(data, textStatus, jqXHR) {
successHandler(data, textStatus, jqXHR);
},
This makes the call and passes over those arguments.
We are assuming here that the client js containing the function successHandler
is loaded and available.
edit/update:
actually success: successHandler,
passes over the params, as it is the function ( duh me ) - all the same, leaving this here, as, maybe explains what is going on more literally