Updated web.js

Changed author
Added index.html
Update web.js with index.html
Forgot to declare var fs
Corrected file name
Added buf.tostring() function
Included buf variable
Specify encoding option for fs