While Loop Through Array Javascript Append String