I am getting a JSLint "Move 'var' declarations to the top of the function" error on this line.