title: twitter widget only load first time in webapp ajax page?
body: <p>Im trying to load the twitter widget api in my ajax loaded page.</p>
  
  <p>I have tryed to load the script in a couple of different ways and Im getting the alert to run each time but not the script itself.</p>
  
  <p>So the first time I load the page, then the script is working, but if I go back to the menu and back to this page, then it doesnt load it?</p>
  
  <p>This is the ajax loaded page.</p>
  
  <pre><code>&lt;div id="twitterwid"&gt;
  
  &lt;a class="twitter-timeline" width="320" height="500" href="https://twitter.com/my account" data-widget-id="my widget id number"&gt;Loading tweets by @me&lt;/a&gt;
  &lt;script&gt;
  
  alert("alert is working");
  
  !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
  
  
  &lt;/script&gt;
  
  &lt;div&gt;
  </code></pre>
  
  <p>Any input appreciated, thanks. </p>