Check String Array Javascript Append Method In Js