An esta isa travel document you need to get to visit or travel through USA costs about £20 and valid for 3 years if I remember correctly.
El Salvador is very young in its tourist journey, we didn’t see any other “foreign” tourists at all. 3 weeks is never enough!