Updated web.js to include buffer and readFileSync