I would do it with an $.ajax()
call:
$('document').ready(function(){
$(".beautific").click(function(){
$.ajax({
url: "beautific/beautific.html #beautific_hype_container",
}).done(function ( data ) {
$(".edgeContent").html(data);
});
});
});
That way your script tag will also not be filtered out.