#57107Rename escapeJsValue and make it context specific
Description
The stdWrap property escapeJsValue actually encodes the content and should thus be called encodeJsValue. Also the value must be enclosed in quotes to prevent it from being used outside the target context of string values in JavaScript.