title: Write a function that accepts HTML DOM document element that reads script tags
body: <p>So i know when a block of HTML is loaded via AJAX, script tags embedded in it are not automatically run, even if the HTML block is inserted into the document.  I want to write a function that accepts a HTML DOM Document object and runs all the script tags in the document.  It only needs to do embedded scripts.  </p>
  
  <p>I believe "innerHTML" is my best bet for getting the source code.  Other than that, I'm lost in how to write this function...</p>
  
  <pre><code>function runScripts(doc{
  
  }
  </code></pre>