performance.now() polyfill that works with browserify