added fs to web.js
updated index.html