How To Check If Variable Is String Javascript