editing view.js