code: function getAttribs(node) {
            var attribs = {};
  
            each(dom.getAttribs(node), function (attr) {
              var name = attr.nodeName.toLowerCase();
  
              // Don't compare internal attributes or style
              if (name.indexOf('_') !== 0 && name !== 'style' && name.indexOf('data-') !== 0) {
                attribs[name] = dom.getAttrib(node, name);
              }
            });
  
            return attribs;
          }
docs: Returns all the nodes attributes excluding internal ones, styles and classes.
  
  @private
  @param {Node} node Node to get attributes from.
  @return {Object} Name/value object with attributes and attribute values.