Fix text escaping in js section: add osc_esc_js