Create a custom dropdownlist by JS