Update view.js for webbased implementations