minor bug fixed in view and \nin Error-State commented  DOMError check, not supported by most browsers #373(isn't DOMError also instanceof Error??)