continued js rework, need to make new teams / matches save correctly