While Loop Array Javascript Append Html