Fixed incorrect call to Mojo::DOM->attrs

Looks like Mojo::DOM might have changed, there is no attrs method anymore, it's attr. Just changing these two lines and it works just fine again.