Matlab For Loop Over String Array Constructor In Javascript