added wrap method to Mojo::DOM