Updated web.js
Added index.html
updated web.js with index.html
fixed a bug with fs
more dbugging
debugged
fixed bug and file sync order
updated index with html code