simpler solution that works in all browsers for adding team members implemented