結果 : check if input empty javascript