// Save DmnJS Viewer reference before the modeler overwrites window.DmnJS window.DmnJSViewer = window.DmnJS;