Maybe this makes sense: https://github.com/mozilla/shumway...