added notes to web.js