Update web.js
write out file instead of hello world
Added index.html