WebVTT Implementation in JavaScript