forgot to include fs in web.js