Add the rAF polyfill in the library itself