Selectable items in menu. JS Refactoring. TODO Remove the items from the table