added gif to acceptable mimetypes for upload
Viewer.js test
Viewer.js files