fixed performance.now browser compatibility