code: function attributes(node) {
      var obj = {};
      each(function(attr) {
        obj[attr.name] = attr.value;
      }, node.attributes);
      return obj;
    }
docs: DOM node attributes as object.
  
  @param {Element}
  @return {Object}