Add support for HTML5 captions

Keeping this separate from any CSS updates for now.