speeding up removeAttr()