Make the assumption that jQuery is being used and defer the call of #action till #enter or #exit is complete if a deferred object is returned from either functions