title: jQuery conditional chaining
body: <p>Let's say I have the following jQuery code. It works great, but then I need to include the <code>.after($('&lt;div /&gt;'))</code> only if <code>var insertAfter</code> equals true. Is there an elegant jQuery way of doing this?</p>
  
  <pre><code>$('#whatEver')
      .parent()
      .show()
      .width(123)
      .addClass('bebo')
      .before($('&lt;div /&gt;'))
      .after($('&lt;div /&gt;'))
      .parent()
      .addClass('bla');
  </code></pre>