Updated web.js
added html file
adjusted web.js with buffer and index file
adjusted little js error
fixed reference error
fixed error in readfile