Updated web.js
Added index.html
make use of readFileSync