updated web.js
added index.html
added filehandling to web.js
modified the js handling