Javascript Test If Variable Is A String