Any particular reason for moving handler's function definition down rather than in the var statement?