title: modernizr and ajax load conflict
body: <p>I have a page using modernizr.js and a custom ajax function that reloads the page content every x seconds. Here's the code for the triggered functions.</p>
  
  <pre><code>function reloadSlides() {
      jQuery.ajax({
          url: document.location.href,
          cache: true,
          success: function(html){
              jQuery('#main').html(html);
          }
      });
  }
  </code></pre>
  
  <p>When I look into the DOM inspector, the classes start to repeat again and again in the HTML tag, like this:</p>
  
  <blockquote>
    <p>html lang="de" class=" js no-touch cssanimations csstransitions js no-touch cssanimations csstransitions js no-touch cssanimations csstransitions js no-touch cssanimations csstransitions js no-touch cssanimations csstransitions js no-touch cssanimations csstransitions" style=""</p>
  </blockquote>
  
  <p>why is that? and how can I avoid this?</p>
  
  <p>Thanks for looking!</p>