Add full array to callback of querySelectorForEach