Toggle class in Raw JS that works with document.getElementsByClassName