package rAF,return some usefull api.