Update index.js
added index.html
update index.js to read from index.html
fix bug