結果 : function is not a function javascript