fb-like&quot;
    data-href=&quot;http://www.your-domain.com/your-page.html&quot;
    data-layout=&quot;standard&quot;
    data-action=&quot;like&quot;
    data-show-faces=&quot;true&quot;&gt;
&lt;/div&gt;
</code></pre>
<p>And here&#39;s how to refactor into a Mithril component in a way that avoids <code>m.trust</code>:</p>
<pre><code class="lang-javascript">var FacebookLikeButton = {
    oncreate: function() {
        (function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if 