Updated web.js
using readFileSync