Delete some text and change html tag with Jquery

<script type="text/javascript">
jQuery(document).ready(function(){
    jQuery('.votes').each(function(){
        votes = jQuery('strong',this).html();
        jQuery(this).html('<div class="calculated-rating">'+votes+'</div>');
    });                         
});
</script>