update web.js and index with bootstrap, incomplete