Changed  view.js