added fs to web.js