Extension to jQuery's append()