```
            var done = 0;
            var toDo = selectedUsers.length;
            var errCount = 0;
```

Sorry for being so nitpicky, just trying to make it consistent with the existing code.