Fixed web.js bug