fixed issue with populating dropdown items

attached GitHub API instead of static JSON file