Update Viewport.js