feature: use classList api when provided