migrate conditional statement over to menu.html