account for exif weirdness in mobile safari; debugging JS stuff