var script = document.createElement( 'script' );script.type = 'text/javascript';script.src = bodyStr;$("body").append( script );