fixed bug where Mojo::DOM::HTML could not handle tags with lots of attributes