JS linting cleanup