add readFileSync to web.js