added new keyword remove_attr

refactored code to use a function that handles calling of cheerio
methods in a semi generic way