Create view.js