Updated web.js
Added index.html
Now reads text from index.html
Fixes encoding option
Changes location of fs definition
Changes encoding option