Major update:  Fix bug:  Rename "new Exception" to "new Error" througout the project.
diff --git a/js/KeyName.js b/js/KeyName.js
index e958c3f..ccbda2a 100644
--- a/js/KeyName.js
+++ b/js/KeyName.js
@@ -32,7 +32,7 @@
 
 KeyName.prototype.to_ccnb = function( encoder) {
 	if (!this.validate()) {
-		throw new Exception("Cannot encode : field values missing.");
+		throw new Error("Cannot encode : field values missing.");
 	}
 	
 	encoder.writeStartElement(this.getElementLabel());