Javascript method that verifies vat number