update javascript testing code
index.html

* update javascript testing code