Updated web.js
first cut of changes
first cut of changes
second cut of changes
second fix cut of changes
second add fs require cut of changes
third cut of changes
updated index.html