Variable Scope

If outside curly braces will prefer to use var outside curly braces. if
invoking a function will prefer to use var inside curly braces