oops, downcast() operates on htmlParser.element, no removeAttribute() method there