custom dropdowns using plain javascript