Fixed bug with menuView.js