Example:  simple replacement of text in node value using plain old JavaScript