Manually hoisted `var` declarations to the top of the function.