function hash() {
	var i = 0,
		args = arguments,
		length = args.length,
		obj = {};
	for (; i < length; i++) {
		obj[args[i++]] = args[i];
	}
	return obj;
}
Take an array and turn into a hash with even number arguments as keys and odd numbers as
values. Allows creating constants for commonly used style properties, attributes etc.
Avoid it in performance critical situations like looping