javascript check if variable is not null or undefined or empty