Added the possibility to specify the id of the document element that the subtitles are appended to.

Made target an options object, with keys and values, as suggested by @ScottDowne.