Now works in safari