Splitting a Text Node in a DOM Document