modified web.js to try include fs utility to read from index.html