Two functions (cleanBadTags and removeScriptsAndStyles) replaced by one getNodesToDelete