It is time the stardards people gives us a way to markup nested menus with semantic tags that create the nesting and give them the desired behaviour, with no need for JS.
We have already wasted enough time reinventing the wheel and making the same painful mistakes again and again. If it is a standard way to make web interfaces, it should be in the standards.