fixed web.js
added code