javascript check if string and not empty