JSHint: maxcomplexity=10. Closes #203.