Form bypasses my JS validation and submits even on validation failure