Add an additional
var addCss = function(cssText) {
var headTag = document.head || document.getElementsByTagName('head')[0];
var styleTag = document.createElement('style');
styleTag.type = 'text/css';
if (styleTag.styleSheet) {
styleTag.styleSheet.cssText = cssText;
} else {
styleTag.appendChild(document.createTextNode(cssText));
}
head.appendChild(styleTag);
}