Add event type option, don't force nested ul to be immediate child, if li has submenu, prevent default on a tag