adapt browser classList wrapper