結果 : create json object in loop javascript