Matlab For Loop Over String Javascript Functions Parameters