make it possible to import input's events from html5 menus