Major update: refactored the API of Interest and ContentObject according to the API notes:
http://sea.remap.ucla.edu:8080/attachments/download/23/lwndn_api-notes_21020830.txt
diff --git a/js/Signature.js b/js/Signature.js
index 9dcbbc5..7eef1d1 100644
--- a/js/Signature.js
+++ b/js/Signature.js
@@ -18,7 +18,7 @@
 	var hex1 = toHex(enc.getReducedOstream());
 
 	var enc = new BinaryXMLEncoder();
-	content.encode(enc);
+	content.to_ccnb(enc);
 	var hex2 = toHex(enc.getReducedOstream());
 
 	var enc = new BinaryXMLEncoder();