[javascript] Javascript: How to check if a string is empty?