Get Keys From Array Javascript Append