Modfied web.js