title: Addthis, add the appropiate html attributes to the tags after the DOM in order to make it validate
body: <p>I am trying to validate my page and I use addthis.</p>
  
  <p>I load the code async and I initialize it with jQuery after the dom is ready.</p>
  
  <pre><code>function initAddThis(){
      var addthis_config = {ui_use_css : false}   
      addthis.init();
  }
  
  jQuery(document).ready(function($){      
      initAddThis();
  });     
  </code></pre>
  
  <p>Now the validator says:</p>
  
  <blockquote>
    <p>Attribute g:plusone:size not allowed on element a at this point</p>
  </blockquote>
  
  <p>Here is the html part with problems:</p>
  
  <pre><code>&lt;a class="addthis_button_google_plusone google_plusone" g:plusone:size="medium"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Now, is there a way to add the appropriate attributes (g:plusone:size="medium") to the tag after the HTML is downloaded? How can I do this?</p>
  
  <p>Ty</p>