Updated web.js
Edited to work from index.html
Fixed bug in readFile function.
Fixed another bug.
Added index.html.