Performance.now polyfill for safari