view.js added