sample web.js file