jquery Deferred fix for jquery versions < 1.5