LPS-43170 Use HtmlUtil.escapeJS() in JavaScript link.