added index.html
edited web.js to read from index.html
added require statement for fs
fixed bug in require statement for fs