final edit web.js