getElementsByClassName replaced by querySelectorAll