Check If Variable Is String Javascript