requestAnimationFrame support

We prefer using === in JavaScript.