OK, I've never edited JS files. Perhaps it would be better to buy the pro version of the template and get the developer to do it.
EDIT: I just looked at the developer's demo for the template and the menu and template work perfectly together. So, maybe Advanced Menu stuffed up stuff and left it there after uninstall... 🙄