linting js unit tests