Allow whitespace and functions in loops.
JSHint clean up.