JS fix to stop field groups hiding

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