結果 : variable is not a function javascript