add all js files to linter fixed lint errors and commented out code