add `window.performance.now` polyfill (bug 1090572)

https://bugzilla.mozilla.org/show_bug.cgi?id=1090572
typo: `window.perf` should be `window.performance`