結果 : check if string not empty javascript