Vba Excel Loop Through Array Javascript Length