added browser caching, movedtemplates out, added lazy load for carousel