Sentence:  it behoves them...to remove all objects, causes, companies, occasions, as may <WSD>anyways</WSD> molest him [...]. 
Meaning of the word marked with <WSD> tags:  In any way.