Update Viewer.js