$(document).ready(function(){
    $('#canvas').html($('#playerdiv').html());
    $('#playerdiv').remove();
});