added fs require
removed error in web.jd