corrected typos
updated web.js