結果 : create json object in for loop javascript