Updated web.js
Updated web.js and index.html
Revised web.js with fs require