Can you maybe restrict the jQuery selector to the file list ? This way it won't try to find the class in the whole page.
Something like `$('#filesTable .lazy')`