Allows more flexible content insertion

This solves a problem where node.text was itself a script holding a handlebars template, in which case setting script.text didn't work. Setting script.innerHTML instead lets it through without the dreaded "unexpected <" error.