Move this to `lib/vttcue.js` so you can use it here, and also via grunt to build the browser-based version.  Let's not break the browser case.