updated web.js
adding index.html
made it like the homework required
updated to read from file sync