Javascript Test If Value Is String