updated web.js
add index
updated web js to read file
skeleton html