put in more complete shims for requestAnimation and performance.now