fixing bad callback on main_menu.js