DOM-based dispose() instead of using jQuery's detach()