JS: match spanning_tree port to EMR security group settings