added linting to project. updated js files so they lint.