change to look for class

rather than search all images it now looks for the class="defer"