ETB is a control character is hex 17. To remove the ETB character use the following script that specifies hex 17:
var tempMessage = String(message.getNode('/'));
var newMessage = tempMessage.replace(/[\x17]/g, '');
message.setNode('/', newMessage);
To remove other characters identify what the hex value is and then modify the script accordingly.
Here is a link to the Windows 1252 character set that can help identify the hex value:
https://en.wikipedia.org/wiki/Windows-1252