function filterXSS(html, options) {
  var xss = new FilterXSS(options);
  return xss.process(html);
}
filter xss function

@param {String} html
@param {Object} options { whiteList, onTag, onTagAttr, onIgnoreTag, onIgnoreTagAttr, safeAttrValue, escapeHtml }
@return {String}