title: Adding script src after window.onload
body: <p>I'm trying to add this social widget after the body has loaded.</p>
  
  <p>I first tried doing:</p>
  
  <pre><code>var stumble = '&lt;script src="' + 'http://www.stumbleupon.com/hostedbadge.php?s=1' + '"&gt;       &lt;\/script&gt;';
  $('#social-widget').append(stumble);
  </code></pre>
  
  <p>But that obviously didn't work, so I tried:</p>
  
  <pre><code>var stumble = document.createElement('script');
  stumble.src = 'http://www.stumbleupon.com/hostedbadge.php?s=1';
  $('#social-widget').append(stumble);
  </code></pre>
  
  <p>Which also didn't work. Any idea on what I am missing here?</p>