Update baseview.js