Two Lazyload.css instances return undefined in the last array item (pendingUrls)

Situation: using a Ruby partial that create two javascript modules and print out the js code in document, and this two partials uses the same css, the for logics return undefined href link on last array item (pendingUrls).