Add jQuery amend plugin which smoothly alters HTML

This is a version of $("...").html() which syncs over the HTML and avoids needlessly replacing nodes or elements.
replaceChild takes two arguments, newChild and oldChild, no?