Make _injectStyles compatible with legacy browsers