It won't work with that. I'm replacing the (implicit) global window.css with a closure the first time it's invoked. Your modification will cause future css sections to create their own <style> tags even if the they reference the same selectors.
Perhaps this is clearer: http://keithmajhor.pastebin.com/5KA7Ecn0