JS to break a nav menu