JS error occurs here. menuList was never found.