got it working for safari