Notes that replaceAll() and replaceWith() removes data associated with the removed nodes

... also changes use of "corollary" to "similar", as it seemed kind-of-awkward, and "similar" is easier to read for non-native speakers.