Add a polyfill for performance.now