Remove console.log
Change replacement match-attribute to allow any value

The value of the attribute to repalce can be anything. Just because an attribute
is being replaced doesn't mean it was in the selector. Match an atribute with
any valid value when replacing an attribute's value.