working web.js with index.html