Move `require()` after registering task
Use `each()`
Update JSHint configuration