Curious why not use `goog.dom.getRawTextContent` and `goog.dom.getTextContent` here?