Fix added perf properties being GCed in Safari 8

Keeping a global reference to the window.performance object seems to
prevent added properties from being garbage-collected.