Create Two Sub Array Javascript Append