@phamann out of interest, is there a specific reason for wanting to use `getElementsByClassName` over `querySelectorAll`?

gEBCN does give you a live NodeList (compared to qSA giving a static NodeList) but there is less support for gEBCN across browsers.