Rollback async on jQuery