chore(web.js): removed dead code