Fixing performance.now for Safari