modified the web.js file to point to main directory