UPdated web.js
added index.html
added require(fs)