safari doesnt have the classList thing