Updated web.js to use fs.readFileSync and Buffer.toString