XHR with Deferreds (based on jQuery's $.ajax) for Titanium Alloy