title: Strip <script> tags from innerHTML using Prototype
body: <p>Using Prototype, I'm trying to extract a piece of text from the DOM - this would normal be a simple <code>$().innerHTML</code> job, but the HTML is nested slightly.</p>
  
  <pre><code>&lt;td class="time-record"&gt;
      &lt;script type="text/javascript"&gt;
      //&lt;![CDATA[
      document.write('XXX ago'.gsub('XXX', i18n_time_ago_in_words(1229311439000)));
      //]]&gt;
      &lt;/script&gt;
      about 11 months ago by &lt;span class="author"&gt;&lt;strong&gt;Justin&lt;/strong&gt;&lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>In this case, <code>innerHTML</code> is going to pick up the JavaScript, which will cause all sort of problems. </p>
  
  <p>What's the <strong>best/efficient/fastest</strong> way to extract <code>about 11 months ago by &lt;span class="author"&gt;&lt;strong&gt;Justin&lt;/strong&gt;&lt;/span&gt;</code> without the JavaScript?</p>