Fix osc_esc_js to allow double-quotes and <br>

Translators sometimes use double-quotes `" "`, `\n` and `<br>` in their translated texts. 
Furthermore, they can't guess where nor how in the code will the string be used. in JS or HTML messages? 
Hence this fix allows complete interchangeably in JS or HTML of translated strings