Fixing lint errors for whitespace on empty line and not including local var declaration at previous var statement