In connectWebSocket, interestLifetime for KeyFetchClosure needs to be milliseconds, not seconds.
diff --git a/js/WebSocketTransport.js b/js/WebSocketTransport.js
index a7be7f9..0885a45 100644
--- a/js/WebSocketTransport.js
+++ b/js/WebSocketTransport.js
@@ -231,7 +231,7 @@
 										if (LOG > 3) console.log("Fetch key according to keylocator");
 										var nextClosure = new KeyFetchClosure(co, currentClosure, keylocator.keyName, sigHex, wit);
 										var interest = new Interest(keylocator.keyName.contentName.getPrefix(4));
-										interest.interestLifetime = 4.0;
+										interest.interestLifetime = 4000;  // milliseconds
 										self.expressInterest(ndn, interest, nextClosure);
 									}
 								}