Switch to using element.className first