jQuery's awesome with chaining, and you can simply do `$emptyInputs.remove()` and even if it's empty it just won't get executed