title: JS code within html returned via ajax not executing
body: <p>For instance say I run an ajax call and the returned data is something like:</p>
  
  <pre><code>&lt;article&gt;
      &lt;h2&gt;Howdy&lt;/h2&gt;
      &lt;script type="text/javascript"&gt;
          alert('hi');
          posts[23] = 'this wont get added into the posts array';
      &lt;/script&gt;
  &lt;/article&gt;
  </code></pre>
  
  <p>I then insert this returned data straight into a div already on the page. None of the javascript will execute. How do I do this correctly and make it work?
  I don't have much control of what gets returned so returning json isn't an option. </p>
  
  <p>Thanks!</p>