added mainView.js stub