Adding support for HTML ClassList API