The XML I'm outputting from my Javascript Script Filter is causing an error by I can't figure out what the issue is. I have similar code working fine as a Ruby Script Filter. It takes a string input e.g. "this is an example", transforms it to "this-is-an-example" and outputs the XML so it can be copied to the clipboard. I've tried to convert it to use the JS Script Filter but it gives the followin