Do not check for parentNode if we remove with jQuery