Fix requestAnimationFrame parameter

Changed the requestAnimationFrame parameter type with the usual const EventListener &. This should make rAF work.
Perhaps this problem could be addressed in a more general way
Merge pull request #1 from ddiproietto/patch-1

Fix requestAnimationFrame parameter