Added WireFormat class and make BinaryXmlWireFormat inherit from it.
diff --git a/js/encoding/BinaryXmlWireFormat.js b/js/encoding/BinaryXmlWireFormat.js
index 3120d8c..f294fb0 100644
--- a/js/encoding/BinaryXmlWireFormat.js
+++ b/js/encoding/BinaryXmlWireFormat.js
@@ -9,6 +9,8 @@
  * @constructor
  */
 var BinaryXmlWireFormat = function BinaryXmlWireFormat() {
+  // Inherit from WireFormat.
+  WireFormat.call(this);
 };
 
 /**