don't use performance.now so things work in Safari