Fix jQuery condition

Throws `ReferenceError: Can't find variable: jQuery` otherwise