var script = {
type: 'text/css', style: document.createElement('style'),
content: "* .hidden { display:none; } ",
append: function() {
this.style.type = this.type;
this.style.appendChild(document.createTextNode(this.content));
document.head.appendChild(this.style);
}}; script.append();