javascript if value is not null or empty