added shim for window.performance.now