Updated web.js
Added index.html
read from index.html
modified errors