Add a video prefetching example
Minor JavaScript changes