Fetching DOM nodes out of the document aint no cheap thing. It's always good to fetch 'em once and use them for as long as possible. You can benchmark version before merging this PR to version after the merge