look at that clean main.js and view.js