Plugin to convert a jQuery object into an HTML string