If I do that JSHint complains "60,13: Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.". I can move it above the `if` statement if you'd still prefer a function declaration over an expression? (I prefer the declaration too, I was following the precedence in the rest of the code.)