update request-animation-frame, refactor raf-start-time as local binding