Updated web.js
Added index.html
Read html template from index.html
Fix bug