Vba Check If Value Is In Array Javascript Length Validation