dom: check for empty jQuery-chain