the div gets inserted to the right place but it also keeps the div in the old position, so then there is two elements not sure why it is being cloned. Im editing woocommerce theme.
$(document).ready(function(){
$("#place_order").insertAfter("tbody");
});