added web.js for debug, changed index.html, index.js