code: function parseAttrs(obj, prefix) {
  		var attrs = {},
  			regex = new RegExp('^' + prefix + '([A-Z])(.*)');
  		for (var key in obj) {
  			var match = key.match(regex);
  			if (match) {
  				var dasherized = (match[1] + match[2].replace(/([A-Z])/g, '-$1')).toLowerCase();
  				attrs[dasherized] = obj[key];
  			}
  		}
  		return attrs;
  	}
docs: Converts camelCased attributes to dasherized versions for given prefix: parseAttrs({hello: 1, hellFrozeOver: 2}, 'hell') => {froze-over: 2}