Clean view.js