improve linting to allow grunt dist to work
Corrects linting errors to allow grunt dist to work