require fs in web.js