fix Italian issue - enclose XML strings in .JS in double quotes, escape all internal quotes.

-> this allows single quotes in localization
There still is some weakness, eg. "<someNode
onSelect="doSomething('Par1', 'Par2')">. Need revisit once Par1/Par2
are up for localization.
-> please check… I hope to avoid the need of going around the globe
now, hope we fixed it for Greek, Poland, Sweden… :-D