implemented linting JavaScript