Fixed async issue with dropdown loading. Needed to add success function to json fetch