clean view.js