Are you sure you `replaceWith` here and not `append`