dynamically generate team name options from js object