modify web.js to read index.html add fs reference