JS linting error