sepearted view.js