Fix stupid Safari classList bug.