Addition of using createTextNode to ensure that utf8 characters are correctly used.  Fixes issues with ' " &