Updated web.js
Added index.html
changed web.js for sync file reading.