Prevent CC from renaming Set.prototype.iterator and minor JSDoc fixes.
Don't add dialogues as a JS property to the subtitle div's. Use a data attribute containing the dialogue id instead.

The ASS constructor doesn't sort dialogues now. Instead, the renderer makes a shallow copy of the dialogues array and sorts it instead.