Add stub for javascript behaviors
Apply behaviors correctly on startup
Move javascript behaviors into separate classes
Remove unused behavior base-class
Move navigation events into behavior
Do not follow empty menu links
Merge stash
Only apply navigation link-click handlers to menu
Merge branch 'bugfix/move-events-into-separate-classes-7140'

fixes #7140