errorString = function( error ) {
		var name, message,
			errorString = error.toString();
		if ( errorString.substring( 0, 7 ) === "[object" ) {
			name = error.name ? error.name.toString() : "Error";
			message = error.message ? error.message.toString() : "";
			if ( name && message ) {
				return name + ": " + message;
			} else if ( name ) {
				return name;
			} else if ( message ) {
				return message;
			} else {
				return "Error";
			}
		} else {
			return errorString;
		}
	}
Provides a normalized error string, correcting an issue
with IE 7 (and prior) where Error.prototype.toString is
not properly implemented

Based on http://es5.github.com/#x15.11.4.4

@param {String|Error} error
@return {String} error message