結果 : javascript loop through object and update values