Updated web.js to require fs.