Don't write the scripts into the DOM to avoid jQuery

Instead append the scripts to the bottom of the container
after the .html() call into the container.