title: add and remove wrapInner depending on screen size
body: <p>I'm trying to add and remove wrapInner depending on screen size. Is this possible?</p>
  
  <pre><code>$(window).resize(function() {
      if (window.innerWidth &lt; 768) {
  
          $('.homeNewsHeading &gt; h3').wrapInner('&lt;a href="#text" class="newcss" /&gt;');
  
      } else if (window.innerWidth &gt; 768) {
  
      // How do I Remove the above wrapInner a-tag from the h3-tag?
  
      }
  }).resize();
  </code></pre>