Declare vars at top.

It's probably a good idea to reinforce the idea that declaring all 
one's vars together, at the top of the file/function, is best 
practice. Variable hoisting can cause unexpected results if vars 
are declared within the for loop's statements.