@jbest84  Looks like a lot of areas are declaring var in the middle of the functions.