requestAnimationFrame support

remove extra space here.