How To Check If Input Is String In Javascript