works in Dartium, but not in Safari