Update mainMenuView.js

modified with controller