updated index.js
added html
fixed index.js