corrected web.js