Fixes to import-exif.js.