jquery deferred when shortcut