add require fs on web.js