fix Promise from jQuery 2.0.3 Deferred fixes