結果 : check input is empty javascript