safari needs a performance.now polyfill