An alternative to Bootstrap Dropdown JS