Added polyfill for `performance` to make flashbang work in Safari