Add lazy loading in main.html