Port jpeg.js.
Merge branch 'nat' of https://github.com/mozilla/shumway into nat