Add fix for iOS8 Safari