Shim requestAnimationFrame
Use globals in jshintrc