title: Remove empty list item with jquery
body: <p>I have a list which is dynamically built, but there are empty list items which need removing.</p>
  
  <pre><code>&lt;ul&gt;
  &lt;li&gt;www&lt;/li&gt;
  &lt;li&gt;www&lt;/li&gt;
  &lt;li&gt;www&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>How do I do this with JQuery?</p>