code: function(el) {
        (el.length > 0) && (el = el[0]);
        var orgAttributes = {};
        for (var i=0; i<el.attributes.length; i++) {
          var attr = el.attributes[i];
          orgAttributes[attr.name] = attr.value;
        }
        return orgAttributes;
      }
docs: Returns the attributes of an element as hash
  @memberof Attr2MapOptions
  @param {HTMLElement} el html element
  @returns {Hash} attributes