code: function(element) {
        // For SVG or Symbol elements, innerHTML returns `undefined` in IE.
        // Reference: https://stackoverflow.com/q/28129956/633107
        // The XMLSerializer API is supported on IE11 and is the recommended workaround.
        var serializer = new XMLSerializer();
  
        return Array.prototype.map.call(element.childNodes, function (child) {
          return serializer.serializeToString(child);
        }).join('');
      }
docs: Gets the inner HTML content of the given HTMLElement.
  Only intended for use with SVG or Symbol elements in IE11.
  @param {Element} element
  @returns {string} the inner HTML of the element passed in