added support for textnodes and iAH

Added back a safer solution for use of iAH and we now can use text nodes
(NT3) in append and prepend