simplify jquery deferred