edit web.js for using index html file