removing scripts, styles, and attributes from robot renderings