title: jQuery check before delete tag
body: <p>Does it make sense to check for existing tag before doing something with it? Or is jQuery doing thing on the fly?</p>
  
  <p>Here a samplecode</p>
  
  <pre><code>$('#my_ul li.active').removeClass('active');
  </code></pre>
  
  <p>or...</p>
  
  <pre><code>if(  $('#my_ul li.active').length ) {
      $('#my_ul li.active').removeClass('active');
  }
  </code></pre>