Updates examples to use next-animation-frame event