While Loop Array Javascript Append Strings In C