Replace document.querySelectorAll by document.getElementsByClassName

Make it easier to be compatible with old IE (with simpler polyfill)