Javascript to untag spans without id
<p>Would it be possible to find and untag spans that do not have ids within a string? I have a text that has bunch of spans some of which have ids and others don't.</p>

<p>Input: </p>

<pre><code>&lt;span&gt;Hi there!&lt;/span&gt;&lt;span id="blabla"&gt;This is a test&lt;/span&gt;
</code></pre>

<p>Output:</p>

<pre><code>Hi there!&lt;span id="blabla"&gt;This is a test&lt;/span&gt;
</code></pre>

<p>I prefer JavaScript functions but  I wouldn't mind using jQuery if it makes things easier!</p>
