fixes #532 — no `getElementsByClassName` in IE8