Update web.js
Cleanup
Fix error in web.js