bring your own promise/A+ library for ajax calls.

Just set $.defer to your promise library.