Removed innerHtml because inner text is sufficient to detect empty tags #10