結果 : pass json to function javascript