結果 : check if string variable is empty javascript