Modified web.js to handle index and land-page asynchronously