Fix jQuery.data issues, by detaching instead of removing from DOM.