How to embed twitter widget

How to embed twitter widget

I'm trying to embed a twitter timeline into a page using Twitter's provided Javascript (see code sample below). However, the Javascript is not loading.

What's the proper way to embed this code into a JQM app?

<a class="twitter-timeline"
  data-widget-id="YOUR-WIDGET-ID-HERE">
Tweets by @twitterdev
</a>
<script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src=" https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script>