added linting for javascript