fixed jquery.replaceWith