Twitter's widgets-js vs. FastDOM

Twitter's widgets-js script throws an error on websites using FastDOM 1.0.

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/fastdom/1.0.3/fastdom.js"></script>
<script src="https://platform.twitter.com/widgets.js"></script>
<p><a class="twitter-share-button" href="https://twitter.com/share">Tweet Button</a></p>

<p><a class="twitter-hashtag-button" href="https://twitter.com/intent/tweet?button_hashtag=bugreport">Hashtag Button</a></p>

<p><a class="twitter-mention-button" href="https://twitter.com/intent/tweet?screen_name=twitterapi">Mention Button</a></p>

<p><a class="twitter-follow-button" href="https://twitter.com/intent/follow?screen_name=twitterapi">Follow Button</a></p>

<blockquote class="twitter-tweet" lang="en-gb"><p>Twitter Developer Events: April 2014 <a href="https://t.co/FEozay7PTN">https://t.co/FEozay7PTN</a></p>&mdash; Twitter API (@twitterapi) <a href="https://twitter.com/twitterapi/statuses/451829583348633600">April 3, 2014</a></blockquote>

JavaScript

twttr.ready(function () {
   console.log("Widgets-JS loaded"); 
});