You can exclude it with delayed options, but exclude means that this source is neither delayed nor deferred loaded. This is the last option if neither delayed nor deferred works with menu.
For better understanding, the menu of your page needs Javascript to work (horrible!! and very bad coding!!) and to get it work the related Javascript must be loaded and parsed before HTML code is loaded. Otherwise it doesn’t and can’t work. If delayed is selected that means that Javascript is loaded after the user does any action like scrolling or clicking, but this is too late for menu function. Deferred method could work, but this depends on the menu function, so try it. If neither delayed nor deferred method works you must exclude the related Javascript from being optimized.