KeyStore implemented
diff --git a/js/testing/test-get-async.html b/js/testing/test-get-async.html
index a5ac9d8..e019537 100644
--- a/js/testing/test-get-async.html
+++ b/js/testing/test-get-async.html
@@ -16,6 +16,10 @@
 		var ndn = new NDN({port:9696});

         ndn.transport.connectWebSocket(ndn);

         

+        ndn.onopen = function() {

+        	document.getElementById("testBtn").disabled = false;

+        };

+        

         var AsyncGetClosure = function AsyncGetClosure() {

         	// Inherit from Closure.

 			Closure.call(this);

@@ -59,7 +63,7 @@
 		<input id="interest" type="text" name="INTEREST" size="50" value="/%C1.M.S.localhost/%C1.M.SRV/ccnd/KEY" /> 

 	</form>

 

-	<button onclick="run()">Fetch Content</button>

+	<button id="testBtn" onclick="run()" disabled="disabled">Fetch Content</button>

 	

 	<p id="content">Content: <br/></p>

 

diff --git a/js/testing/test-publish-async.html b/js/testing/test-publish-async.html
index b29098e..f69756a 100644
--- a/js/testing/test-publish-async.html
+++ b/js/testing/test-publish-async.html
@@ -17,6 +17,10 @@
 		var ndn = new NDN();

         ndn.transport.connectWebSocket(ndn);

         

+        ndn.onopen = function() {

+        	document.getElementById("testBtn").disabled = false;

+        };

+        

         var AsyncPutClosure = function AsyncPutClosure() {

         	// Inherit from Closure.

 			Closure.call(this);

@@ -70,7 +74,7 @@
 		</div>

 	</form>

 	<div>

-		<button onclick="run()">Publish Content</button>

+		<button id="testBtn" onclick="run()" disabled="disabled">Publish Content</button>

 	</div>

 	

 	<p id="result"></p>