with this approach, it will walk the array, but do not necessary touch all elements, which is a nice optimization. under ideal circumstances, we will touch the DOM once, to collect the `data-esprima-src`, or fallback to collect the `src`.