**Not** a nitpick (for once), just a suggestion! :-)
In such cases where `i` and `length` are only useful within the `for` loop, you can also use:
```javascript
for (var i = 0, length = elements.length; i < length; i++) { ... }
```