fix typo
simplify client.js
simplify index.html
0.2.1