Tab field: Fixed JS bug where multiple tab groups on the same edit screen would not render correctly

Signed-off-by: Elliot Condon <e@elliotcondon.com>