Fix 'insertRule' problem

I replace 'insertRule' with 'createElement' because in some browser 'insertRule' adds a style sheet's rule to the beginning of the style sheet. If 'document.styleSheets[0]' contains CSS at-rule such as 'charset', it doesn't work.