avoid document.createElement('div') in css polyfill