jQuery.fn.extend( {
    detach: function( selector ) {
        return remove( this, selector, true );
    },