結果 : check empty input javascript