Excel Vba Variable Array Javascript Length Function