Update src/main/js/Viewer.js