In each scope "var" should occur just one, and always at the very top of the scope.