Javascript Rotate Image Based On Exif