Create baseview.js