You're only using these variables down below, just `var` them when they're first initialized. No need to move variables to the top of a function. :D