Updated web.js
Added index.html and changed response
Fix on error
Corrected readSync