Generalize DicomViewer (non-angular)