add patches for document.head|body.replaceChild|removeChild|insertBefore
modernize submodule