These can be combined into a single selector for a single `querySelectorAll` call:

```js
if ($('#search-results, #account-settings .listing').length) {
```

Perf gains are debatable each way, but it's a bit shorter to write.