When it talks about elements, this is probably not refering to oxygen, nitrogen, etc. but rather, bad weather. In the 1800's the term "elements" was often used to mean storm, tempest, rain, wind, snow, sleet, etc.