AG|ES: performance improvement for responsiveImages (and make sure container exists)