You should not use '+=' for element.innerHTML since it might cause a poor performance.
If you have a chance, rewrite that as follows:

var innerHTML =  'div::x-thumb { font-size: 30px; }'
    + 'div::xthumb { font-size: 30px; }'
    ...;

Then, set the string to the element's innerHTML:
    style.innerHTML = innerHTML;