bugfix: iOS doesn't support window.performance