jquery conditional chaining
<p>Let's say I have the following jQuery.  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?  Thanks</p>

<pre><code>$('#whatEver')
.parent()
.show()
.width(123)
.addClass('bebo')
.before($('&lt;div /&gt;'))
.after($('&lt;div /&gt;'))
.parent()
.addClass('bla');
</code></pre>
