imageCache error handling and lazyload.js implement