dont create functions within loops, we can avoid for loops altogether
Merge branch 'jshint_appeasement'