Minimal Javascript/HTML template to display subtitles on a second screen