Exactly as a I wrote above: 

````javascript
if ($("#notifications-banner").length > 0)
````

With the inversion to reduce nesting, it would be:

````javascript
if ($("#notifications-banner").length <= 0) {
    return;
}
````

The code as-is is doing a "falsy" check, i.e., `0 == false` in JavaScript. If you want to keep it that way you could just do the following to invert it:

````javascript
if (!$("#notifications-banner").length) {
    return;
}
````