結果 : function in javascript is not defined