$('.membership-group-list').replaceWith("
\n<\/div>\n
\n
\n") try { $('body').prepend("") } catch (e) { console.log(e) }