Captions fixes

Fixed #564, #542, and found that IE9 required ending track tags