Check If Value Is String In Javascript