fix performance.now shim