web.js: added fs requirement