Update to validation JS to fix minor bug allowing tab hidden fields to bypass validation

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