docs: function sortAttrs(arr) {
  	const attrs = {};
  	for (let i = 0, l = arr.length; i < l; i++) {
  		if (/=/.test(arr[i])) {
  			const firstEquals = arr[i].indexOf('=');
  			const attr = arr[i].substr(0, firstEquals);
  			const value = arr[i].substr(firstEquals + 1);
  			let current = attrs[attr];
  			if (current) {
  				current += " " + value;
  			} else {
  				current = value;
  			}
  			attrs[attr] = current;
  		}
  	}
  	return attrs;
  }