Currently, imscJS uses sax.js to parse IMSC documents. This allows the same code to be used in both node and in the browser. This is also doubles the size of the packaged browser JS module.
An alternative approach is to move to a DOM parser, so that the native parser can be used in browsers, while reverting to a external DOM parser in node.
@bbert would this help dash.js?
@gkatsev any further thoughts on this topic?
@nigelmegitt any strong feelings?