結果 : validate empty input javascript