Move node rename logic inside setDomNodeContent