added replaceData to text nodes
1.0.3