* Fixes #9102 by fake polyfilling rAF (and rIC) * Ensure we restore globals even if test fails + minor nits * Remove periods