Fixes #11, checks for window.performance.now