The presence of `StackMob['ajax']` will override the default AJAX handlers with the one you've provided.  I've taken your Titanium implementation from above and simply placed that here.