Javascript jQuery.Deferred to queue ajax calls My odyssey in vTiger CRM Rotate a shape about an arbitrary point